# 绘制柱状图

def plot_bar_graph(x, y):
  import matplotlib.pyplot as plt
  plt.bar(x, y)
  plt.show()

# python 03\plot_bar_graph.py
if __name__ == '__main__':
  x = [1, 2, 3, 4, 5, 6]
  y = [6, 5, 4, 3, 2, 1]
  plot_bar_graph(x, y)
  pass